package com.cn.book.services;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "consul-provider")
public interface HelloService {
    @RequestMapping(path = "/say")
    String say(@RequestParam("name") String name);
}
